const isDev = process.env.NODE_ENV === 'development' ? true : false
const publishUrl = 'https://bkycms.com/addons/yb_wm/views/common/template/'
const backendPath = isDev
? publishUrl
: location.href.match(/(\S*)views/)[1] + 'views/common/template/'
module.exports =
{
    "body": {
        "list": [
            {
                "title": "固定定位",
                "name": "fixed",
                "styles": {
                    "module": "4",
                    "orPic": "2",
                    "isFloat": "2",
                    "marginTop": 0,
                    "marginBottom": 0,
                    "marginLeft": "0",
                    "marginRight": "0",
                    "percent": 80,
                    "colorBg": "#fff",
                    "colorWord": "#343434",
                    "circle": "0",
                    "imgUrl": [
                        {
                            "img": backendPath+"style5/202106251832414919.jpg",
                            "url": ""
                        },
                        {
                            "img": backendPath+"style5/202106112330028184.png",
                            "url": ""
                        },
                        {
                            "img": backendPath+"style5/202105212240272700.jpg",
                            "url": {
                                "params": "product",
                                "name": {
                                    "discountOpen": "2",
                                    "id": "458",
                                    "name": "椰乳绿豆冰沙",
                                    "icon": backendPath+"style5/202105212235571419.png",
                                    "salesNum": 0,
                                    "typePid": "3",
                                    "typeId": null,
                                    "price": "13.00",
                                    "stock": "999",
                                    "isRecommend": "2",
                                    "display": "1",
                                    "maxPrice": null,
                                    "isSpecs": "2",
                                    "storeId": "1",
                                    "isMain": 1,
                                    "category_name": "新品上线",
                                    "media": null
                                },
                                "category": "商品"
                            }
                        },
                        {
                            "url": {
                                "params": "product",
                                "name": {
                                    "id": "120",
                                    "name": "冰博克厚牛乳波波茶",
                                    "icon": backendPath+"style5/202012181559531532.jpg",
                                    "salesNum": "0",
                                    "typePid": "3",
                                    "typeId": "",
                                    "price": "999.00",
                                    "stock": "999",
                                    "isRecommend": "2",
                                    "display": "1",
                                    "maxPrice": "",
                                    "isSpecs": "2",
                                    "storeId": "1",
                                    "isMain": "1",
                                    "category_name": "新品上线",
                                    "media": ""
                                },
                                "category": "商品"
                            },
                            "img": backendPath+"style5/202012211125595270.jpg"
                        }
                    ],
                    "upLoad1": {
                        "text": "",
                        "img": "",
                        "url": ""
                    },
                    "upLoad2": {
                        "text": "",
                        "img": "",
                        "url": ""
                    },
                    "floatUrl1": {
                        "text": "手机下单自提",
                        "img": backendPath+"style5/202011201049383902.jpg",
                        "url": {
                            "params": "platform",
                            "name": {
                                "id": "goods",
                                "name": "点单页"
                            },
                            "category": "平台首页"
                        }
                    },
                    "floatUrl2": {
                        "text": "即将上线",
                        "img": backendPath+"style5/202011201049424164.jpg",
                        "url": {
                            "params": "platform",
                            "name": {
                                "id": "index",
                                "name": "首页"
                            },
                            "category": "平台首页"
                        }
                    },
                    "marginLR": 0
                }
            },
            {
                "title": "辅组线",
                "name": "lines",
                "styles": {
                    "type": "1",
                    "colorBg": "#c2c2c2",
                    "height": 5,
                    "marginTB": 0
                }
            },
            {
                "title": "热区",
                "name": "hot",
                "styles": {
                    "marginTop": "0",
                    "marginBottom": "0",
                    "marginLeft": "0",
                    "marginRight": "0",
                    "circle": "0",
                    "img": backendPath+"style5/202011241138506862.jpeg",
                    "divStyles": [
                        {
                            "width": "230",
                            "height": "323.984",
                            "sX": " 7",
                            "sY": " 196",
                            "status": "true",
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"integralShop\",\"name\":\"积分商城\"},\"category\":\"平台首页\"}",
                            "name": "积分商城"
                        },
                        {
                            "width": "231.992",
                            "height": "325.996",
                            "sX": " 499",
                            "sY": " 191",
                            "status": "true",
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"couponCenter\",\"name\":\"领券中心\"},\"category\":\"平台首页\"}",
                            "name": "领券中心"
                        },
                        {
                            "width": "225",
                            "height": "325",
                            "sX": " 252",
                            "sY": " 193",
                            "status": "true",
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"balanceRecharge\",\"name\":\"充值中心\"},\"category\":\"平台首页\"}",
                            "name": "充值中心"
                        },
                        {
                            "width": "356.992",
                            "height": "187.988",
                            "sX": " 1",
                            "sY": " -2",
                            "status": "true",
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"myOrder\",\"name\":\"我的订单\"},\"category\":\"平台首页\"}",
                            "name": "我的订单"
                        },
                        {
                            "width": "351.992",
                            "height": "182.988",
                            "sX": " 371",
                            "sY": " 1",
                            "status": "true",
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"signIndex\",\"name\":\"签到中心\"},\"category\":\"平台首页\"}",
                            "name": "签到中心"
                        }
                    ],
                    "marginLR": "0"
                }
            },
            {
                "title": "辅组线",
                "name": "lines",
                "styles": {
                    "type": "1",
                    "colorBg": "#c2c2c2",
                    "height": 5,
                    "marginTB": 0
                }
            }
        ],
        "pageSetting": [
            {
                "title": "页面设置",
                "name": "nameless",
                "styles": {
                    "modulePage": "1",
                    "colorIcon": "#F5F5F5",
                    "colorBg": "#fff",
                    "moduleTitle": "1",
                    "title": "列表标题",
                    "navTitle": "佛山HITEA嘆茶",
                    "img": "",
                    "colorWord": "#333"
                }
            }
        ],
        "susBtn": [
            {
                "title": "悬浮设置",
                "name": "susBtn",
                "status": "0",
                "styles": {
                    "status": "0",
                    "type": "left",
                    "shifting": "600",
                    "imgUrl": [
                        {
                            "img": "",
                            "url": ""
                        }
                    ]
                }
            }
        ],
        "attention": [
            {
                "title": "关注条",
                "name": "attention",
                "styles": {
                    "status": "0",
                    "img": "",
                    "text": "点击关注我们哦~"
                }
            }
        ],
        "remind": [
            {
                "title": "下单提醒",
                "name": "remind",
                "styles": {
                    "status": "0",
                    "colorWord": "#fff",
                    "colorBg": "#000",
                    "percent": "80",
                    "shifting": "120",
                    "type": "2",
                    "numberList": [
                        {
                            "img": "",
                            "text": "",
                            "time": ""
                        },
                        {
                            "img": "",
                            "text": "",
                            "time": ""
                        }
                    ]
                }
            }
        ],
        "open": [
            {
                "title": "启动页",
                "name": "open",
                "styles": {
                    "status": "2",
                    "type": "2",
                    "colorBg": "#000",
                    "percent": 25,
                    "imgUrl": [
                        {
                            "img": backendPath+"style5/202108041613367365.jpg",
                            "url": ""
                        }
                    ]
                }
            }
        ],
        "menu": [
            {
                "title": "导航",
                "name": "menu",
                "styles": {
                    "colorSelect": "#333",
                    "colorUnselect": "#999",
                    "colorLine": "#eee",
                    "colorBg": "#fff",
                    "imgUrl": [
                        {
                            "text": "首页",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "index",
                                    "name": "首页"
                                },
                                "category": "平台首页"
                            },
                            "front": [
                                {
                                    "img": backendPath+"style5/202011092058438334.png"
                                }
                            ],
                            "back": [
                                {
                                    "img":backendPath+"style5/202011092058365255.png"
                                }
                            ]
                        },
                        {
                            "text": "点餐",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "goods",
                                    "name": "点单页"
                                },
                                "category": "平台首页"
                            },
                            "front": [
                                {
                                    "img": backendPath+"style5/202011092059067501.png"
                                }
                            ],
                            "back": [
                                {
                                    "img": backendPath+"style5/202011092058596025.png"
                                }
                            ]
                        },
                        {
                            "text": "订单",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "myOrder",
                                    "name": "我的订单"
                                },
                                "category": "平台首页"
                            },
                            "front": [
                                {
                                    "img": backendPath+"style5/202011092059319275.png"
                                }
                            ],
                            "back": [
                                {
                                    "img": backendPath+"style5/202011092059265501.png"
                                }
                            ]
                        },
                        {
                            "text": "我的",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "member",
                                    "name": "个人中心"
                                },
                                "category": "平台首页"
                            },
                            "front": [
                                {
                                    "img": backendPath+"style5/202011092059524934.png"
                                }
                            ],
                            "back": [
                                {
                                    "img": backendPath+"style5/202011092059473311.png"
                                }
                            ]
                        }
                    ]
                }
            }
        ]
    },
    "page": "1",
    "name": "奶茶店模板"
}
